package com.sanyang.lawyer.mapper.audit;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.sanyang.lawyer.entity.Audit_type;
import org.apache.ibatis.annotations.ResultType;
import org.apache.ibatis.annotations.Select;

import java.util.List;

public interface Audit_typeMapper extends BaseMapper<Audit_type> {
    
    
    //根据id查询单条
    public Audit_type getByid(int id);
    
    //查询全部
    @Select("select * from audit_type")
    @ResultType(Audit_type.class)
    public List<Audit_type> selectList();
    
    
}
